Specification: PowerShell Module Full Parity#6290
Draft
denelon wants to merge 5 commits into
Draft
Conversation
Specification for achieving full functional parity between the WinGet PowerShell module and the CLI, including SYSTEM context support, new cmdlets for configure/pin/download/repair/settings operations, and enhanced source management. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Trenly
reviewed
Jun 17, 2026
Trenly
reviewed
Jun 17, 2026
WinGet ships two separate PowerShell modules: - Microsoft.WinGet.Client (package management) - Microsoft.WinGet.Configuration (configuration/DSC operations) Update spec to clearly delineate which cmdlets belong to which module, add Configuration-specific gaps (history, abort, delete), update the architecture diagram, and note module consolidation as a future consideration. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Remove detailed IDL interface definitions (too implementation-level for a spec; keep high-level description of needed COM surface) - Use PinType property instead of IsBlocking for future expandability (supports checking gating pins too) - Add PR microsoft#6190 (Configuration module improvements) to Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
JohnMcPMS
reviewed
Jun 23, 2026
Rewrite the PowerShell parity spec against the actual shipping source. Most CLI surface already has cmdlets (download=Export-WinGetPackage, repair=Repair-WinGetPackage, configure test/show/list/abort/delete, settings, -Scope). Scope the real gaps to pin management and package list import/export. Reframe elevated/SYSTEM context as reliability bugs in the existing activation paths, not missing features. Fix the architecture to show Configuration uses Microsoft.Management.Configuration. Model pins with PinType (incl. gating) and drop deep COM interface design per review. Remove the module-consolidation idea. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Resolve check-spelling failures for the PowerShell parity spec. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📖 Description
Specification for achieving full functional parity between the WinGet PowerShell modules and the CLI.
Revised after review to reflect the actual shipping source rather than an overstated gap list. Key corrections:
Microsoft.WinGet.ClientandMicrosoft.WinGet.Configuration(download =Export-WinGetPackage, repair =Repair-WinGetPackage, configure test/show/list/abort/delete, user/admin settings,-Scope).Add/Get/Remove/Reset-WinGetPin) and package list import/export (winget export/import, #5041) — distinct fromExport-WinGetPackage(download).Microsoft.WinGet.ConfigurationusesMicrosoft.Management.Configuration, notMicrosoft.Management.Deployment.PinType(Pinning/Blocking/Gating) and drops deep COM interface design per review feedback (keeps cmdlet inputs/outputs only).Authored with GitHub Copilot assistance.
🔗 References
Related Issues:
Related PR:
🔍 Validation
Spec document — no code changes to validate.
✅ Checklist
📋 Issue Type
Microsoft Reviewers: Open in CodeFlow